package com.example.springbootdoc.entity;

public class User {

    private String name;

    private String dept;

    private String phone;

    private String addr;

    private String sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public User() {
    }

    public User(String name) {
        this.name = name;
    }

    public User(String name, String dept, String phone, String addr, String sex) {
        this.name = name;
        this.dept = dept;
        this.phone = phone;
        this.addr = addr;
        this.sex = sex;
    }
}
